package com.test;

import com.jdk8.NewInterface;
import com.jdk8.NewInterfaceImpl;

public class JDK18NewInterface {

    public static void main(String[] args) {
        NewInterfaceImpl obj = new NewInterfaceImpl();
        obj.test1();
        obj.test2();
        obj.test3();
        NewInterface.test4(); //接口的静态方法只能通过，接口.静态方法名调用();

    }
}
